package br.com.mmm.javacenter.framework.view.taglib.tags;

import java.io.IOException;
import java.io.Writer;

import javax.servlet.jsp.JspException;

public class PainelTag extends JavaCenterSimpleTagSupport{

	private String align;
	
	public void doTag() throws JspException, IOException {
		Writer writer = getJspContext().getOut();
		writer.write("<tr>");
		writer.write("<td ");
		writer.write(getAtributo("align",align));
		writer.write(" >");
		writeBody(writer);
		writer.write("</td>");
		writer.write("</tr>");
	}

	public String getAlign() {
		return align;
	}

	public void setAlign(String align) {
		this.align = align;
	}
}
